/*
    样式总入口
*/
@import './variables.scss';
//@import 'element-ui/lib/theme-chalk/display.css';
// @import "~element-ui/packages/theme-chalk/src/index";
@import './theme.scss';
@import './mixin.scss'; // sass$
@import './transition.scss'; // 动画
@import './reset-el.scss'; // 重置el
@import './base.scss'; // 页面初始化
@import './globl.scss'; // 全局通用
@import './app.scss'; // 网页结构

// ==========全局布局相关==========
/* flex */
.flex {
  display: flex;

  &-x {
    display: flex;
    flex-direction: row;

    &-start {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;

      &-center {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
      }

      &-end {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-end;
      }
    }

    &-center {
      display: flex;
      flex-direction: row;
      justify-content: center;

      &-center {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
      }

      &-end {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-end;
      }
    }

    &-end {
      display: flex;
      flex-direction: row;
      justify-content: flex-end;

      &-center {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
      }

      &-end {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: flex-end;
      }
    }

    &-between {
      display: flex;
      flex-direction: row;
      justify-content: space-between;

      &-center {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }

      &-end {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
      }
    }
  }

  &-y {
    display: flex;
    flex-direction: column;

    &-start {
      display: flex;
      flex-direction: column;
      align-items: flex-start;

      &-center {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
      }

      &-end {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
      }
    }

    &-center {
      display: flex;
      flex-direction: column;
      align-items: center;

      &-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
      }

      &-end {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
      }
    }

    &-end {
      display: flex;
      flex-direction: column;
      align-items: flex-end;

      &-center {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
      }

      &-end {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
      }
    }
  }

  &-wrap {
    flex-wrap: wrap;
  }
}

/* 定位 */
.absolute-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

/* 浮动 */
.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix::after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.clearfix {
  *zoom: 1;
}

/* 文本位置 */
.textR {
  text-align: right !important;
}

.textL {
  text-align: left !important;
}

.textC {
  text-align: center !important;
}
/* flex布局 */
.flexRBC {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flexRCC {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flexRAC {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.flexCAC {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.flexRBS {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.flexRBE {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.flexRSC {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flexREC {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.flexRSS {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.flexRSE {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.flexCCC{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}
.flexCCE{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;

}

.colCCA {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.colCCC {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.colCSC {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.colCSS {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.colCES {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.colCAE {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-around;
}

.colCAS {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-around;
}

.item-split:not(:last-child) {
  padding: 0 10px;
  border-right: 1px solid #ddd;
}

.item-split:last-child {
  padding-left: 10px;
}

.item-split:nth-child(2) {
  padding-left: 0;
}

//字段分割符合
.item-split-line {
  display: inline-block;
  width: 1px;
  height: 10px;
  background-color: #ddd;
  margin: 0 5px;
}

.hide-max-title {
  height: 18px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;

  .list-item {
    display: inline-block;
    min-width: 30px;
  }
}

/*input框长度定义*/
.input-width-400 {
  width: 400px !important;
}

.input-width-300 {
  width: 300px !important;
}

.input-width-200 {
  width: 200px !important;
}

.input-width-220 {
  width: 220px !important;
}

.input-width-250 {
  width: 250px !important;
}

.input-width-150 {
  width: 150px !important;
}

.input-width-120 {
  width: 120px !important;
}

.input-width-100 {
  width: 100px !important;
}

span output {
  display: inline-block;
}

.top-nav-title {
  //导航标签
  margin-top: 2px;
  margin-bottom: 10px;
  font-weight: bold;
}
.width100{
  width: 100%!important;
}
.labelColor{
  color: #ddd;
}
.leftLine{
  padding-left: 10px;
  border-left: 3px solid rgba(255, 183, 47, 1);
}
.textRight{
  text-align: right;
}
.textCenter{
  text-align: center;
}
.textLeft{
  text-align: left;
}
.pd-l-20{
  padding-left: 20px;
}
.pd-t-20{
  padding-top: 20px;
}
.pd-r-20{
  padding-right: 20px;
}
.pd-b-20{
  padding-bottom: 20px;
}
.pd-l-10{
  padding-left: 10px;
}
.pd-t-10{
  padding-top: 10px;
}
.pd-r-10{
  padding-right: 10px;
}
.pd-b-10{
  padding-bottom: 10px;
}
.mg-l-20{
  margin-left: 20px;
}
.mg-t-20{
  margin-top: 20px;
}
.mg-r-20{
  margin-right: 20px;
}
.mg-b-20{
  margin-bottom: 20px;
}
.mg-l-10{
  margin-left: 10px;
}
.mg-t-10{
  margin-top: 10px;
}
.mg-r-10{
  margin-right: 10px;
}
.mg-b-10{
  margin-bottom: 10px;
}
.flexItem-v-center{
  display: flex;
  align-items: center;
}
.flex1{
  flex: 1;
}